package com.woniu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan(value = "com.woniu.dao")
@EnableEurekaClient     //开启eureka客户端
@EnableScheduling       //开启定时器
@EnableCaching          //开启缓存
public class CommunityserviceApplication {

    public static void main(String[] args) {
        SpringApplication.run(CommunityserviceApplication.class, args);
    }

}
